package jtk.project4.fleet.event;

import java.util.List;

import jtk.project4.fleet.domain.Customers;
import jtk.project4.fleet.event.AddCustomerEvent.CustomerDatabaseEventType;
import nl.coderight.jazz.Event;


public class AddCustomerEvent extends Event<CustomerDatabaseEventType>{
	private List<Customers> customers;
	
	public enum CustomerDatabaseEventType{
		LOAD_SUCCESS,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, SAVE;
	}
	
	public AddCustomerEvent(CustomerDatabaseEventType add){
		super(add);
	}

	public void setCustomers(List<Customers> customers) {
		this.customers = customers;
	}

	public List<Customers> getCustomers() {
		return customers;
	}
}
